/**
 * @author yan
 * @date 2025/8/1
 */
public class ti28 {
    class Solution {
        public int strStr(String haystack, String needle) {
           if(needle.length()==0)
               return 0;
            return haystack.indexOf(needle);
        }
    }
    public static void main(String[] args) {

    }
}
